<?php
class Taskmanager extends CI_Controller {

	public function index()
	{
	    $this->load->model('frontpage_model');
	    $data["query"]=$this->frontpage_model->frontpage_getoffer();
		$this->load->view('welcome_message',$data);
	}
	/////////////////////////////////////////////
	public function contactus()
	{
		
	  $this->load->view('global/header1');
	  $this->load->view('global/slide');
	  $this->load->view('global/headerbar');
	  $this->load->view('global/rightsidebar');
	  $this->load->view('global/leftsidebar');
	  $this->load->view('contactus');
	  $this->load->view('global/footer');
	}
	/////////////////////////////////////////////
	public function projects()
	{
	  
	  $this->load->view('global/header1');
	  $this->load->view('global/slide');
	  $this->load->view('global/headerbar');
	  $this->load->view('global/rightsidebar');
	  $this->load->view('global/leftsidebar');
	  $this->load->view('projects');
	  $this->load->view('global/footer');
	}
	
	/////////////////////////////////////////////
	public function aboutus()
	{
	
	  $this->load->view('global/header1');

	  $this->load->view('global/headerbar');
	  $this->load->view('global/rightsidebar_page');
	  $this->load->view('global/leftsidebar');
	  $this->load->view('aboutus');
	  $this->load->view('global/footer');
	}
	/////////////////////////////////////////////
	public function wpos_detail()
	{
	
	  $this->load->view('global/header1');
	  $this->load->view('global/slide');
	  $this->load->view('global/headerbar');
	  $this->load->view('global/rightsidebar');
	  $this->load->view('global/leftsidebar');
	  $this->load->view('wpos_detail');
	  $this->load->view('global/footer');
	}
	
	/////////////////////////////////////////////
	public function Catwiseproduct($catId='')
	{
	  $this->load->model('frontpage_model');
	  $data["query"]=$this->frontpage_model->frontpage_getoffer();
	  $this->load->model('catproduct_model');
	  $data["catProduct"]=$this->catproduct_model->getproducts($catId);
	  $data["title"]="Bed Room";
	  $this->load->view('global/header1');
	  $this->load->view('global/slide');
	  $this->load->view('global/headerbar');
	  $this->load->view('global/rightsidebar');
	  $this->load->view('global/leftsidebar',$data);
	  $this->load->view('catwiseproduct');
	  $this->load->view('global/footer');
	}
	
	/////////////////////////////////////////////
}

?>